{% extends "site_base.html" %}

{% load i18n %}
{% load deliverable_tags %}
{% load person_tags %}
{% load task_tags %}

{% block head_title %}{% trans "Welcome" %}{% endblock %}

{% block tab_id %}id="home_tab"{% endblock %}

{% block body %}
  {% if user.is_authenticated %}
    <h1>Your Status</h1>
    {% person_status user %}

    <h1>Objectives Behind Scheduled</h1>

    <p>TODO</p>

    <h1>Tasks that are Overdue</h1>

    {% list_overdue_tasks %}

    <h1>Tasks that are Due Today</h1>

    {% list_todays_tasks %}

    <h1>Deliverables that are Overdue</h1>

    {% list_overdue_deliverables %}

    <h1>Deliverables that are Due Today</h1>

    {% list_todays_deliverables %}
  {% else %}
    <p>You need to log in to see your dashboard.</p>
  {% endif %}

{% endblock %}
